﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain
{
    /// <summary>
    /// 养殖信息
    /// </summary>
    [Table("Aquaculture")]
    public  class Aquaculture
    {
        /// <summary>
        /// 养殖信息id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        [Required]
        public string Variety { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        [Required]
        public string Oright {  get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        [Required]
        public int Feedingdays {  get; set; }
        /// <summary>
        /// 饲养品牌
        /// </summary>
        [Required]
        public string Breedingbrand {  get; set; }
        /// <summary>
        /// 饲养负责人
        /// </summary>
        [Required]
        public string Headfeeder { get; set; }
          /// <summary>
          /// 出栏日期
          /// </summary>
        [Required]
        public DateTime Publicationdate {  get; set; }

    }
}
